package Twitim::API::FavoritesCreate;

use strict;
use warnings;

use base qw( Twitim::API );

sub _start {
    my ( $self, $id ) = @_;

    $self->_getfromapi( 'favorites/create', "/$id.json", undef, undef );
    Twitim::NetBase->set_favorites( $id, 1 );
}

1;
